From 630c79339c22be05de9a465bf5cff1b6abfe92db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Tue, 30 Aug 2005 19:22:31 +0000 Subject: [PATCH] Avar casts lvl 5 enhance to Licenses.php: *Support for template paramaters --- includes/Licenses.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/includes/Licenses.php b/includes/Licenses.php index eedc2cd39e..1d78c31d90 100644 --- a/includes/Licenses.php +++ b/includes/Licenses.php @@ -27,7 +27,8 @@ class Licenses { * @var string */ var $html; - + /**#@-*/ + /** * Constrictor * @@ -163,10 +164,10 @@ class License { * @param string $str */ function License( $str ) { - list( $template, $text ) = explode( '|', $str, 2 ); + list( $text, $template ) = explode( '|', strrev( $str ), 2 ); - $this->template = $template; - $this->text = $text; + $this->template = strrev( $template ); + $this->text = strrev( $text ); } } ?> -- 2.20.1